<template>
	<div  id="app">
		<router-view></router-view>
	</div>
</template>
<script>
export default {
  name: "APP",
  created() {
    if (JSON.parse(this.$localStorage.get("themeData"))) {
      document.getElementById("app1").className = JSON.parse(
        this.$localStorage.get("themeData")
      ).themeName;
    } else {
      document.getElementById("app1").className = "black";
    }
  },
  methods: {}
};
</script>

<style lang="scss">
@import "normalize.css"; // normalize.css 样式格式化
// @import '../static/theme/black/index.scss'; // 黑色主题
@import "src/styles/index.scss";
</style>
